package xyz.syyrjx.provider.exception;

/**
 * @author 大地崩坏苍蝇兽
 * @date 2023/1/6 - 18:44
 */
public class SyyrjxRpcProviderException extends RuntimeException{
    public SyyrjxRpcProviderException() {
    }

    public SyyrjxRpcProviderException(String message) {
        super(message);
    }

    public SyyrjxRpcProviderException(String message, Throwable cause) {
        super(message, cause);
    }

    public static final String PROVIDER_NAME_REDEFINE = "提供者唯一标识重复";

    public static final String SERVICE_NAME_REDEFINE = "服务唯一标识重复";

    public static final String PROVIDER_SERVER_RUN_ERROR = "提供者服务器启动失败";

    public static final String PROVIDER_REGISTRY_ERROR = "提供者注册失败";

    public static final String NOT_PROVIDER_ERROR = "这不是一个提供者";

    public static final String PROVIDER_BUSY = "提供者忙碌";
}
